Installation
This guide walks you through installing BindAI and preparing your development environment.Requirements
Before installing BindAI, make sure you have:- Python 3.11 or newer
- pip
- Git (recommended for source development)
- uv for source development
Install BindAI from PyPI
The easiest way to install the published BindAI package is from PyPI:Note:bindai --versionis not currently supported. Usebindai version.
Verify the Python Package
Verify that the BindAI Python package is available:Create Your First Project
Generate a new BindAI project:Configure Environment Variables
AI providers generally require credentials. Configure the required credentials in your environment or project.env file.
For example:
Verify Your Environment
Run the built-in diagnostics:Run Your Project
Start the generated application:Install BindAI from GitHub for Development
If you want to contribute to BindAI or work with the latest source code, clone the repository:- Core functionality
- Agents
- Tools
- Providers
- Memory
- Embeddings
- Retrieval
- Knowledge
- Workflows
- Projects
- Connections
- MCP
- CLI
Install uv
Ifuv is not already installed, install it with:
Synchronize the Development Workspace
From the repository root, run:Activate the Development Environment
Windows PowerShell
macOS / Linux
Verify the Source Installation
Verify that Python is using the workspace environment:Important: Do Not Use Root-Level Editable Installation
Because the BindAI repository is a multi-packageuv workspace, do not run:
Development Workflow
When working on BindAI from source, a typical workflow is:Windows PowerShell
Updating BindAI
To upgrade the published PyPI package:Common Issues
ModuleNotFoundError
Make sure the correct environment is activated.
For source development, activate the workspace environment.
Windows PowerShell
macOS / Linux
CLI Not Found
If thebindai command is unavailable after installation, make sure the environment containing BindAI is activated.
For source development, activate the .venv created by uv sync.
You can also verify which Python executable is being used:
Missing API Key
If a provider reports an authentication error, verify that the required environment variable is configured. For example:.env file, ensure it is located where your application expects it and that your application loads environment variables appropriately.
Unsupported Python Version
Check your Python version:Provider Configuration Issues
If your application cannot connect to a language model:- Verify that the required API key or local provider configuration is available.
- Confirm the selected provider.
- Confirm that the selected model is supported by that provider.
- Run:
- Check the provider-specific documentation for additional configuration requirements.
- OpenAI
- Anthropic
- Google Gemini
- Groq
- Ollama
- OpenRouter
Workspace Installation Issues
If source dependencies appear to be missing or inconsistent, run:Next Steps
After installing BindAI, continue with: These guides introduce the core BindAI development workflow. As you become familiar with the framework, explore:- Tools
- Memory
- Knowledge and RAG
- Workflows
- Projects
- Connections
- MCP
- Multi-Agent Systems
